package com.chainyoung.component_tmperson.ui.mvp.contract;

import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmperson.entity.OwnWalletDebit;
import com.chainyoung.component_tmperson.entity.WalletDebit;

import java.util.List;
import java.util.TreeMap;

import io.reactivex.Flowable;

public interface OwnWalletDebitContract {

    interface View extends IView {



        void onGetOwnWalletDebitSuccessed(OwnWalletDebit data);

        void onGetOwnWalletDebitFailed();

        void onGetDebitCredit(String data);

    }

    interface Model extends IModel {



        Flowable<OwnWalletDebit> getOwnWalletDebit(TreeMap<String,Object> map);


        Flowable<String> getDebitCredit(TreeMap<String, Object> map);
    }


}
